#include "Pattern.h"
#include <iostream>
#include <vector>
using namespace std;
Pattern::Pattern(){
	_type = -1;
	_linNum = -1;
	_varName = "";
	_tNode = vector<Pattern_node>();
}
Pattern::Pattern(INTEGER type, INTEGER linNum, STRING varName,vector<Pattern_node> tNode){
	_type = type;
	_linNum = linNum;
	_varName = varName;
	_tNode = tNode;
}

INTEGER Pattern::getType(){
	return _type;
}
INTEGER Pattern::getLineNum(){
	return _linNum;
}
STRING Pattern::getVarName(){
	return _varName;
}
vector<Pattern_node> Pattern::getNodeTree(){
	return _tNode;
}